import org.junit.Test;

import java.io.File;


public class BeanUtils {

    @Test
    public void music() {
//        BeanUtil.copyProperties(sysDepartMainBody,hasDepartMainBody,CopyOptions.create().setIgnoreNullValue(true));
//
//
//        CopyOptions copyOptions = CopyOptions.create();
//        Map<String, String> fieldMapping = new HashMap<>();
////        fieldMapping.put("key", "type");
//        fieldMapping.put("in", "stockIn");
//        fieldMapping.put("out", "stockOut");
//        fieldMapping.put("key", "type");
//        copyOptions.setFieldMapping(fieldMapping);
//        // 使用 BeanUtils 复制属性
//        BeanUtil.copyProperties(mainBodyFillInVo, newVo, copyOptions);
    }

}
